package com.swpu.project.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author swpuyanxiegroup1
 * @since 2024-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dictionary_content")
public class DictionaryContent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 字典条目id
     */
    @TableId(value = "content_id", type = IdType.AUTO)
    private String contentId;

    /**
     * 所属字典id
     */
   @JsonIgnore
    private String dictId;

    /**
     * 条目名
     */
    private String contentName;

    /**
     * 单位
     */
    private String contentUnit;

    /**
     * 备注
     */
    private String contentNotes;


}
